<form action="index.php" method="post" name="ranks_form">
<input type="hidden" name="function" value="{function}" />
<input type="hidden" name="id" value="{id}" />
<input type="hidden" name="module" value="ranks" />
<input type="hidden" name="redirect" value="<?echo($_SERVER['HTTP_REFERER']);?>" />

<table align="center" width="100%" border="0" class="tabelka2">
<?php if('{path}' != null) { ?>
<tr>
    <td align="center" colspan="2"><img src="<?echo($conf['images_dir']);?>{path}" alt="" /></td>
</tr>
<?php } ?>
<tr>
    <td class="row_1" align="left" colspan="2">{multi}</td>
</tr>
<tr>
    <td class="row_2" align="center" width=100><?echo($lang['ranks_points']);?></td>
	 <td class="row_2" align="left"><input type="text" maxlength="8" name="points" value="{points}" class="button" size="4" /> <small><?echo($lang['ranks_special']);?></small></td>
</tr>
<tr>
    <td class="row_1" align="center" width=100><?echo($lang['ranks_image']);?></td>
	<td class="row_1" align="left"><input type="text" maxlength="150" name="path" value="{path}" class="button" size="30" />&amp;nbsp;<img src="<?echo($GLOBALS['theme_path'].$GLOBALS['theme_img']['search']);?>" style="cursor:pointer" title="<?echo($lang['browse']);?>" alt="<?echo($lang['browse']);?>" onclick="window.open('browse.php?cmd=rank&dir=ranks/&close=1&tag=no&amp;form=opener.document.ranks_form.path', 'browse', 'height=250,resizable=yes,width=400');return false;" /></td>
</tr>
<tr>
	<td></td>
    <td><input type="submit" value="{submit}" class="button" /></td>
</tr>
</table>
</FORM>
